{$formStart}
    <table>
        <tr>
            <th colspan="2">{$addUserForm}</th>
            <th>{$groupsLbl}</th>
            <th>{$rightsLbl}</th>
            <th>{$revokedRights}</th>
        </tr>
        <tr>
            <td>{$login}</td>
            <td><input type="text" name="login" /></td>
            <td rowspan="8">
                <select name="groups[]" multiple="multiple" size="12">
                    {section name="group" loop=$groups}
                    {strip}
                    <option value="{$groups[group].id}" title="{$groups[group].name}">{$groups[group].name}</option>
                    {/strip}
                    {/section}
                </select>
            </td>
            <td rowspan="8">
                <select name="rights[]" multiple="multiple" size="12">
                    {section name="right" loop=$rights}
                    {strip}
                    <option title="{$rights[right].description}" value="{$rights[right].mod}-{$rights[right].id}">
                        {$rights[right].module} - {$rights[right].name}
                    </option>
                    {/strip}
                    {/section}
                </select>
            </td>
            <td rowspan="8">
                <select name="revokedRights[]" multiple="multiple" size="12">
                    {section name="right" loop=$rights}
                    {strip}
                    <option title="{$rights[right].description}" value="{$rights[right].mod}-{$rights[right].id}">
                        {$rights[right].module} - {$rights[right].name}
                    </option>
                    {/strip}
                    {/section}
                </select>
            </td>
        </tr>
        <tr>
            <td>{$password}</td>
            <td><input type="password" name="password" /></td>
        </tr>
        <tr>
            <td>{$retypePassword}</td>
            <td><input type="password" name="password2" /></td>
        </tr>
        <tr>
            <td>{$photo}</td>
            <td><input type="file" name="photo" disabled="disable" /></td>
        </tr>
        <tr>
            <td>{$name}</td>
            <td><input type="text" name="name" /></td>
        </tr>
        <tr>
            <td>{$surname}</td>
            <td><input type="text" name="surname" /></td>
        </tr>
        <tr>
            <td>{$email}</td>
            <td><input type="text" name="email" /></td>
        </tr>
        <tr>
            <td>{$www}</td>
            <td><input type="text" name="www" /></td>
        </tr>
        <tr>
            <td colspan="5"><input type="submit" value="{$create}"></td>
        </tr>
    </table>
</form>